import { _decorator, Component, Node } from 'cc';
import { App } from './frame/App';
const { ccclass, property } = _decorator;

@ccclass('Main')
export class Main extends Component {

    @property(Node)
    ui_root: Node = null

    start() {
        App.viewMgr.uiRoot = this.ui_root;
        App.init();
        App.start();
    }

    update(deltaTime: number) {

    }
}


